<template>
  <div>
    <h1 class="h">头部:{{str}}</h1>
  </div>
</template>

<script>
export default {
   name:"head-vue",
   data(){
    return {
        str:"hello"
    }
   }
}
</script>

<style>
   .h{
    background-color: skyblue;
   }
</style>